package com.guigu.qingcheng.orderservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.qingcheng.pojo.order.TbOrderLog;
import com.guigu.qingcheng.utils.R;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author testjava
 * @since 2020-07-08
 */
public interface TbOrderLogService extends IService<TbOrderLog> {
    R findPage (@RequestParam("page") Integer page, @RequestParam("size") Integer size, @RequestBody Map<String,Object> searchMap );

    R findByOrderId(String id);

    R findByOrderTime(String id, String status);
}
